﻿body {
    padding: 0px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.main-banner {
    /*position: fixed;*/
    width: 100%;
    height: 55px;
    background-color: #2494F2;
    /*z-index: 810;*/
}
    .main-banner .title {
        color: #fff;
        font-size: 24px;
        line-height: 55px;
        width: 230px;
        text-align: center;
        float: left;
        background-color: #4e9dff;
    }

    .main-banner .box {
        float: right;
        margin: 10px 10px 0px 0px;
    }
    .main-banner .box:hover {
        cursor:pointer;
    }

.main {
    /*position: absolute;*/
    /*top: 55px;*/
    width: 100%;
    height: calc(100vh - 55px);
    background-color: #ddd;
}
    .main::after {
        clear: both;
    }
    .main .box {
        margin-left: 230px;
        padding: 5px;
        height: calc(100vh - 55px);
        overflow-y:auto;
    }
        .main .box::after {
            clear: both;
        }

.main-sidebar {
    /*position: fixed;*/
    /*top: 55px;*/
    /*left: 0;*/
    float:left;
    width: 230px;
    height: calc(100vh - 55px);
    background-color: #20222a;
    overflow-y: auto;
    z-index: 810;
    /*min-height: calc(100vh - 55px);*/
}
/*.main .box {
    width:100%;
}*/


    .main-sidebar::-webkit-scrollbar {
        position: absolute;
        width: 10px;
        margin-left: -10px;
        -webkit-appearance: none;
    }

    .main-sidebar::-webkit-scrollbar-track {
        background-color: #304047;
        border-right: 1px solid #1c2429;
        border-left: 1px solid #1c2429;
    }

    .main-sidebar::-webkit-scrollbar-thumb {
        height: 50px;
        background-color: #11171a;
        background-clip: content-box;
        border-color: transparent;
        border-style: solid;
        border-width: 1px 2px;
    }